package cmo.cel.entity;

import java.util.Map;

import com.thoughtworks.xstream.annotations.XStreamAlias;

@XStreamAlias("xml")
public class TextMessage extends BaseMessage {
	@XStreamAlias("Content")
	private String content;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
		public TextMessage(Map<String, String> requesMap,String content) {
			super(requesMap);
			this.setMsgType("text");
			this.content=content;
		}

//		@Override
//		public String toString() {
//			return "TextMessage [content=" + content + ", getToUserName()=" + getToUserName() + ", getFromUserName()="
//					+ getFromUserName() + ", getCreateTime()=" + getCreateTime() + "]";
//		}

}
